<%@ page import="org.apache.commons.io.*, java.io.*" contentType="application/octet-stream"%><%  
     java.io.File file = new File("/home/zwu/app/Elookinto-TXViewer16Setup.msi");
     response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment; filename=Elookinto-TXViewer16Setup.msi");
   sendFile(file, response);
 %><%!
    private void sendFile(File file, HttpServletResponse response) throws IOException {
    response.setContentLength((int) file.length());
    InputStream inputStream = null;


    try {
      inputStream = new FileInputStream(file);
      IOUtils.copy(inputStream, response.getOutputStream());


    } finally {
      IOUtils.closeQuietly(inputStream);


    }
  }

%>
